package com.zhuhjay.model.entity;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;

/**
 * @author ZhuHJay
 * @date 2023/04/24 22:18
 */

@Table(value = "type")
public class Type implements Serializable {

    
    @Id(keyType = KeyType.Auto)
    private Integer id;

    
    private String name;

    
    private Integer parentid;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getParentid() {
        return parentid;
    }

    public void setParentid(Integer parentid) {
        this.parentid = parentid;
    }

}
